From: Carlos Garnacho Date: Mon, 21 Jan 2019 19:40:31 +0000 (+0100) Subject: keyboard: Avoid sequence grabs on touch X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~897^2^2~32 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=4aecf4c97337927712853fe6c22650c46a6aff1a;p=gnome-shell.git keyboard: Avoid sequence grabs on touch We can do without these. Since grabs prevent gestures in parent containers from happening, we actively don't want these for emoji scrolling/paging. --- diff --git a/js/ui/keyboard.js b/js/ui/keyboard.js index c4b173e8c..6ecef255c 100644 --- a/js/ui/keyboard.js +++ b/js/ui/keyboard.js @@ -394,13 +394,10 @@ var Key = class Key { if (!this._touchPressed && event.type() == Clutter.EventType.TOUCH_BEGIN) { - device.sequence_grab(sequence, actor); this._touchPressed = true; this._press(key); } else if (this._touchPressed && - event.type() == Clutter.EventType.TOUCH_END && - device.sequence_get_grabbed_actor(sequence) == actor) { - device.sequence_ungrab(sequence); + event.type() == Clutter.EventType.TOUCH_END) { this._touchPressed = false; this._release(key); }